<!DOCTYPE html>
<html ng-app="wxModule">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
        <meta name="format-detection" content="telephone=no">
        <title>丘丘谷</title>
        <link rel="stylesheet" href="<?=base_url()?>assets/library/frozen/css/frozen.css">
        <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/wx/css/style.css">
        <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/wx/css/index.css">
    </head>
    <body ontouchstart="" ng-controller="wx-index-controller">

        <!--footer-->
        <footer class="ui-footer ui-footer-btn my-footer-bg">
            <ul class="ui-tiled">
                <li class="active">
                    <a href="/home">
                        <div>首页</div>
                    </a>
                </li>
                <li>
                    <a href="/car">
                        <div>购物车</div>
                    </a>
                </li>
                <li>
                    <a href="/order">
                        <div>订单</div>
                    </a>
                </li>
                <li>
                    <a href="/center">
                        <div>我的</div>
                    </a>
                </li>
            </ul>
        </footer>
        <!--endfooter-->

        <div class="ui-searchbar-wrap ui-border-b">
            <div class="ui-searchbar ui-border-radius">
                <i class="ui-icon-search"></i>
                <div class="ui-searchbar-text">搜索您想要的商品</div>
                <div class="ui-searchbar-input"><input value="" type="tel" placeholder="搜索您想要的商品" autocapitalize="off"></div>
                <i class="ui-icon-close"></i>
            </div>
            <button class="ui-searchbar-cancel">取消</button>
        </div>

        <!--slider-->
        <?php if(!empty($slider)): ?>
        <section id="slider">
            <div class="ui-slider my-slider-height">
                <ul class="ui-slider-content">
                    <?php foreach($slider as $s):?>
                    <li>
                        <span style="background-image:url(<?=$s['thumb']?>)"></span>
                    </li>
                    <?php endforeach;?>
                </ul>
            </div>
        </section>
        <?php endif; ?>
        <!--endslider-->

        <section class="ui-panel my-wrapper">
            <h1 ng-bind="id">热销产品</h1>
            <div class="wrapper">
                <ul class="wall">
                    <li class="article" ng-repeat="l in lists.data">
                        <a href="/detail?id={{ l.goodsId }}">
                            <img src="{{ l.thumb }}" onerror="" />
                            <p ng-bind="l.goodsName"></p>
                            <small ng-bind="'￥' + l.price"></small>
                        </a>
                    </li>
                </ul>
            </div>
        </section>

    </body>
    <script src="<?=base_url()?>assets/library/zepto/zepto.min.js"></script>
    <script src="<?=base_url()?>assets/library/frozen/js/frozen.js"></script>
    <script src="<?=base_url()?>assets/library/jQuery-1.3.8/jquery-1.8.3.min.js"></script>
    <script src="<?=base_url()?>assets/library/angular/angular.min.js"></script>
    <script src="<?=base_url()?>assets/library/angular/angular-sanitize.min.js"></script>
    <script src="<?=base_url()?>assets/wx/js/index/jaliswall.js"></script>
    <script src="<?=base_url()?>assets/wx/js/base.js"></script>
    <script src="<?=base_url()?>assets/wx/js/index/index1.js"></script>
</html>

